package org.crud4j.wicket.app;

import javax.persistence.EntityManagerFactory;
import javax.persistence.Persistence;

import org.crud4j.ejb3.Ejb3BeanProvider;
import org.crud4j.ejb3.example.Teacher;

public class TestCrudBeanProvider implements Ejb3BeanProvider {

	private static EntityManagerFactory emf = Persistence
			.createEntityManagerFactory("crud4jtest");

	public EntityManagerFactory getEntityManagerFactory() {
		return emf;
	}

	public Class[] listClasses() {
		return new Class[] { Teacher.class };
	}

}
